package com.coupons.business.common.vo;

import java.io.Serializable;
import java.util.Date;

public class Category implements Serializable 
{
	
	private static final long serialVersionUID = -7015177294510021008L;
	private int categoryId; 	
	private String categoryName;	
	private int MerchantId;		
	private int PartnerId;		
	private String description; 	
	private String status;		
	private Date creationDate;	
	private Date lastUpdatedDate;	
	private String lastUpdatedUser;	
	private int rank;
	
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public int getMerchantId() {
		return MerchantId;
	}
	public void setMerchantId(int merchantId) {
		MerchantId = merchantId;
	}
	public int getPartnerId() {
		return PartnerId;
	}
	public void setPartnerId(int partnerId) {
		PartnerId = partnerId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}
	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}
	public String getLastUpdatedUser() {
		return lastUpdatedUser;
	}
	public void setLastUpdatedUser(String lastUpdatedUser) {
		this.lastUpdatedUser = lastUpdatedUser;
	}
	public int getRank() {
		return rank;
	}
	public void setRank(int rank) {
		this.rank = rank;
	}
	
	
	
	
	public String toString()
	{
		StringBuffer sb= new StringBuffer();
		sb.append("Category: [");
		sb.append("categoryId: "); 
		sb.append(categoryId);
		sb.append(" ,categoryName: ");
		sb.append(categoryName);
		sb.append(" ,merchantId: ");
		sb.append(MerchantId);
		sb.append(" ,partnerId: ");
		sb.append(PartnerId);
		sb.append(" ,description: "); 	
		sb.append(description);
		sb.append(" ,creation Date: ");
		sb.append(creationDate);
		sb.append(" ,last Updated Date: ");
		sb.append(lastUpdatedDate);
		sb.append(" ,status: ");
		sb.append(status);
		sb.append(" ,last Updated User: ");
		sb.append(lastUpdatedUser);
		sb.append(" ,rank");
		sb.append(rank);
		sb.append("  ]");
		return sb.toString();
	}

	

}
